package java课题设计.工具类;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
 
public class Size {
    int a=0;
    public Size() throws IOException {
        BufferedReader reader=new BufferedReader(new FileReader("D:\\aaa\\数据\\学生数据.txt"));
        String line = null;
        while((line=reader.readLine())!=null){
            a++;
        }
    }
    public int getA(){
        return a;
    }
}
